﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IThamSo
    {
        [OperationContract]
        IEnumerable<THAMSO> GetByAllThamSo();

        [OperationContract]
        String InsertThamSo(THAMSO data);

        [OperationContract]
        String UpdateThamSo(THAMSO data);

        [OperationContract]
        String DeleteThamSo(string id);

        [OperationContract]
        IEnumerable<THAMSO> GetByTopThamSo(string _top, string _where, string _order);

        [OperationContract]
        String ApproveThamSo(THAMSO data);
    }
}
